package com.wk1un2.entity;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_students")
public class Students {
	
	@TableId  //(type = IdType.AUTO)
	private Integer stuid;
	
	@TableField("stucreatetime")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date stucreatetime;
	
	@TableField("stuname")
	private String stuname;
	
	@TableField("stuage")
	private Integer stuage;
	@TableField("stugender")
	private Integer stugender;
	
	private String stuphone;
	
	private String stuacademic;
	
	private Integer stustate;
	@TableField("sources")
	private String sources;
	@TableField("sourceurl")
	private String sourceurl;
	@TableField("sourcekeyword")
	private String sourcekeyword;
	@TableField("clerkid")
	private Integer clerkid;
	@TableField("userid")
	private Integer userid;
	
	@TableField("WeChat")
	private String WeChat;
	
	@TableField("QQ")//数据库里边的
	private String QQ;
	
	private String stusourcedep;
	
	@TableField("IsReport")
	private Integer IsReport;
	
	private String learnforward;
	
	@TableField("IsValid")
	private Integer IsValid;
	
	private Integer mark;
	
	@TableField("IsReturnVisit")
	private Integer IsReturnVisit;
	
	@TableField("FirstVisitTime")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date FirstVisitTime;
	
	@TableField("IsHome")
	private Integer IsHome;
	
	@TableField("HomeTime")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date HomeTime;
	
	@TableField("InvalidReason")
	private String InvalidReason;
	
	private Integer Ispay;
	
	@TableField("PayTime")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date PayTime;
	
	private String Money;
	
	@TableField("IsReturnMoney")
	private Integer IsReturnMoney;
	
	@TableField("IsInClass")
	private Integer IsInClass;
	
	@TableField("InClassTime")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date InClassTime;
	
	@TableField("InClassContent")
	private String InClassContent;
	
	@TableField("RefundReason")
	private String RefundReason;
	
	@TableField("DepositMoney")
	private String DepositMoney;
	
	@TableField("DepositTime")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date DepositTime;
	
	@TableField(exist = false)
	private String username;
	@TableField(exist = false)
	private String suoshuzixunshi;
	@TableField(exist = false)
	private String lururen;
}
